﻿namespace Model.Entites
{
    /// <summary>
    /// 图片表
    /// </summary>
    [SugarTable("T_Image")]
    public class TImage : ModelStatusBase
    {
        /// <summary>
        /// Url
        /// </summary>

        [SugarColumn(ColumnDataType = "LONGTEXT")]
        public string Url { get; set; }

        /// <summary>
        /// 被引用次数
        /// </summary>
        [SugarColumn(DefaultValue = "1")]
        public int LinkCount { get; set; }

        /// <summary>
        /// 来源类型
        /// </summary>
        public Enum_ImageSourceType SourceType { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDataType = "LONGTEXT")]
        public string Name { get; set; }
    }
}